package com.fanh.mapper;

import com.fanh.model.GuideReadHistory;
import com.fanh.model.GuideReadHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GuideReadHistoryMapper {
    long countByExample(GuideReadHistoryExample example);

    int deleteByExample(GuideReadHistoryExample example);

    int deleteByPrimaryKey(String id);

    int insert(GuideReadHistory record);

    int insertSelective(GuideReadHistory record);

    List<GuideReadHistory> selectByExample(GuideReadHistoryExample example);

    GuideReadHistory selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") GuideReadHistory record, @Param("example") GuideReadHistoryExample example);

    int updateByExample(@Param("record") GuideReadHistory record, @Param("example") GuideReadHistoryExample example);

    int updateByPrimaryKeySelective(GuideReadHistory record);

    int updateByPrimaryKey(GuideReadHistory record);
}